import { requestType } from '~/config/enum.config'

const SERVICE = 'management-service'
const CONTROLLER = 'batchManageController'

export default {
  /**
   * 查询批量处理
   */
  queryBatchManage: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'queryBatchManage',
    type: requestType.Get
  },
  /**
   * 执行触发器
   */
  doBatchManage: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'doBatchManage',
    type: requestType.Get
  },
  /**
   * 修改时间
   */
  modifyCronJob: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'modifyCronJob',
    type: requestType.Post
  },
  /**
   * 暂停触发器
   */
  pauseTriggerForJob: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'pauseTriggerForJob',
    type: requestType.Get
  },
  /**
   * 启用触发器
   */
  resumeTriggerForJob: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'resumeTriggerForJob',
    type: requestType.Get
  }

}
